import React, { useState } from 'react'

export default function App() {
    const [name, setName] = useState('123')
    return (
        <div>
            <div>{name}</div>
            <button onClick={() => setName('345')}>change</button>
        </div>
    )
}
